#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
@Project ：NoBad 
@File    ：urls.py
@Author  ：LYP
@Date    ：2025/10/30 13:26 
@description :
"""
from django.urls import path, include
from . import view
from rest_framework.routers import DefaultRouter

from .view import WxUserViewSet

router = DefaultRouter()
router.register(r'', WxUserViewSet, basename='wechat')

urlpatterns = [
    path("", include(router.urls)),
    path("login", view.getWechatOpenId),
    path("getUserPhone", view.getUserPhone),
    path("getPrepayId", view.getPrepayId),
    path("updataUserInfo", view.updataUserInfo),
    path("getUserInfo", view.getUserInfo),
    path("updateShare", view.updateWxUser),
    path("getAcquireNewUsers",view.getAcquireNewUsers)
]
